<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Cookbook.Services.Core.Commands" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Cookbook.Services.Core.Commands" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:9002/CommandService.svc?xsd=xsd1" namespace="http://schemas.datacontract.org/2004/07/Cookbook.Services.Core.Commanding" />
  <xs:complexType name="VersionedCommand">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/Cookbook.Services.Core.Commanding" base="q1:Command">
        <xs:sequence>
          <xs:element name="Id" type="xs:long" />
          <xs:element name="Version" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="VersionedCommand" nillable="true" type="tns:VersionedCommand" />
  <xs:complexType name="RateRecipeCommand">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:VersionedCommand">
        <xs:sequence>
          <xs:element minOccurs="0" name="Rating" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="RateRecipeCommand" nillable="true" type="tns:RateRecipeCommand" />
  <xs:complexType name="AddNewRecipeCommand">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/Cookbook.Services.Core.Commanding" base="q2:Command">
        <xs:sequence>
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="AddNewRecipeCommand" nillable="true" type="tns:AddNewRecipeCommand" />
</xs:schema>